package epam.marchenko.library.repository;

import java.util.List;

import epam.marchenko.library.domain.Book;
import epam.marchenko.library.domain.BookClass;
import epam.marchenko.library.domain.OutcomeRecord;
import epam.marchenko.library.domain.User;

public interface OutcomeRecordRepository {
	OutcomeRecord findById(int id);
	OutcomeRecord find(OutcomeRecord record);
	List<OutcomeRecord> findAll();
	List<OutcomeRecord> findForBook(Book book);
	List<OutcomeRecord> findForClass(BookClass bclass);
	List<OutcomeRecord> findForUser(User user);
	void create(OutcomeRecord record);
	void deleteById(int id);
	void delete(OutcomeRecord record);
	void update(OutcomeRecord record);
}
